﻿using LForum.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Layans.Data
{
    public class PageMassage
    {
        public int MassageId { get; set; }

        [Required]
        [StringLength(5000, MinimumLength = 2, ErrorMessage = "полето трябва да е минимум 2 и максимум 5000 символа")]
        public string Massage { get; set; }

        public ExternalLoginConfirmationViewModel Name { get; set; }

        public Avatar Img { get; set; }

        public IEnumerable<PageMassageAnswer> Asnwer { get; set; }


        public PageInfo PageName { get; set; }
    }
}
